package com.mdd.front.validate.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel("订单还款计划线下支付记录创建参数")
public class OfflinePaymentCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "repaymentPlanNo参数缺失")
    @ApiModelProperty(value = "还款计划编码")
    private String repaymentPlanNo;

    @NotNull(message = "paymentRent参数缺失")
    @ApiModelProperty(value = "支付租金")
    private BigDecimal paymentRent;

    @NotNull(message = "indemnifyforaloss参数缺失")
    @ApiModelProperty(value = "支付违约金")
    private BigDecimal indemnifyforaloss;

    @NotNull(message = "payType参数缺失")
    @ApiModelProperty(value = "支付方式;支付方式：1、支付宝 2、微信 3、现金 4、银行卡 5、其他")
    private String payType;

    @NotNull(message = "remarks参数缺失")
    @ApiModelProperty(value = "备注")
    private String remarks;
}
